<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="导航" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<style type="text/css">
<!--
.style3 {color: #0000CC}
.STYLE1 {
	color: #154F8E;
	font-size: 12px;
}
body {
	background:#EAFAFF;
}
-->
</style>
<script language="javascript">
	function showReceiveBillDialog(){
		var strUrl="/finance/ReceiveBillNew.ihtm?alert_type=SHOW";
		showWin(1024,600,strUrl);
	}
	function showAdjustBillDialog(){
		parent.setIframeDisplay("none");
		var url="/finance/AdjustTypeSelect.ihtm";
		parent.ShowIframeNoScroll("选择调帐类型",url,240,380,"showAdjustBillDialogCallBack()");//showAdjustBillDialogCallBack是父窗口的
	}
	function showTransferBillDialog(){
		var strUrl="/finance/TransferBillNew.ihtm?alert_type=SHOW";
		showWin(1024,420,strUrl);
	}
	function showPayBillDialog(){
		parent.setIframeDisplay("none");
		var url="/finance/PayTypeSelect.ihtm";
		parent.ShowIframeNoScroll("选择付款类型",url,240,240,"showPayBillDialogCallBack()");//showPayBillDialogCallBack是父窗口的
	}
	function showFeeBillDialog(){
		var strUrl="/finance/FeeBillNew.ihtm?alert_type=SHOW";
		showWin(1024,420,strUrl);
	}
	function showIncomeBillDialog(){
		var strUrl="/finance/IncomeBillNew.ihtm?alert_type=SHOW";
		showWin(1024,420,strUrl);
	}
</script>
</head>
<body oncontextmenu="return false" scroll="no">
<div class="main">
  <div style="height:500px;">
  	  <div class="blank48">&nbsp;</div>
	  <div class="blank24">&nbsp;</div>
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
			  	<tr>
					<td height="320" colspan="2" align="center" valign="top">
						<table width="66%" border="0" align="center" cellpadding="0" cellspacing="0">
					      <tr>
					        <td width="25%" height="32" align="left">&nbsp;</td>
					        <td width="25%" align="left"></td>
					        <td width="25%" align="left"></td>
					      </tr>
						  <tr>
					        <td align="center">
								<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_BILL;')!=-1}">
									<a href="javascript:showIncomeBillDialog();"><img src="/images/fin2.gif" border="0" title="登记业务之外的收入，例如利息收入、安装收入、设计收入、保证金等" /></a>
					            </c:if>
								<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';INCO_BILL;')==-1}">
									<img src="/images/fin2.gif" border="0" title="登记业务之外的收入，例如利息收入、安装收入、设计收入、保证金等" />
					            </c:if>
							</td>
							<td align="center">
					        	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';TRAN_BILL;')!=-1}">
								    <a href="javascript:showTransferBillDialog();"><img src="/images/fin3.gif" border="0" title="账户之间的资金转移" /></a>
				                </c:if>
							    <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';TRAN_BILL;')==-1}">
									<img src="/images/fin3.gif" border="0" title="账户之间的资金转移" />
				                </c:if>							
						    </td>
					        <td align="center">
								<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_BILL;')!=-1}">
								    <a href="javascript:showFeeBillDialog();"><img src="/images/fin1.gif" border="0" title="登记采购外协之外的支出，例如招待费、工资、物业管理费、通讯费等" /></a>
				                </c:if>
							    <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';FEE_BILL;')==-1}">
									<img src="/images/fin1.gif" border="0" title="登记采购外协之外的支出，例如招待费、工资、物业管理费、通讯费等" />
				                </c:if>
						    </td>
					      </tr>
						  <tr>
					        <td height="50" align="left">&nbsp;</td>
							<td height="50" align="left">&nbsp;</td>
					        <td height="50" align="left">&nbsp;</td>
					      </tr>
						  <tr>
					        <td align="center">
								<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';RECE_BILL;')!=-1}"><a href="javascript:showReceiveBillDialog();"><img src="/images/fin4.gif" border="0" title="收到客户回款，在这里登记收款信息，核销业务单应收款"></a></c:if>
					            <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';RECE_BILL;')==-1}"><img src="/images/fin4.gif" border="0" title="收到客户回款，在这里登记收款信息，核销业务单应收款"></c:if>
							</td>
							<td align="center">
					        	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';ADJU_BILL;')!=-1}">
								    <a href="javascript:showAdjustBillDialog();"><img src="/images/fin6.gif" border="0" title="当合同或者外协/采购发生金额调整或者呆账，可以通过调账单来调整应收款/应付款" /></a>
				                </c:if>
							    <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';ADJU_BILL;')==-1}">
									<img src="/images/fin6.gif" border="0" title="当合同或者外协/采购发生金额调整或者呆账，可以通过调账单来调整应收款/应付款" />
				                </c:if>									
						    </td>
					        <td align="center">
								<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';PAY_BILL;')!=-1}"><a href="javascript:showPayBillDialog();"><img src="/images/fin8.gif" border="0" title="支付给外协商/供应商款项后，在这里登记付款信息，核销应付款"></a></c:if>
					            <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';PAY_BILL;')==-1}"><img src="/images/fin8.gif" border="0" title="支付给外协商/供应商款项后，在这里登记付款信息，核销应付款"></c:if>
						    </td>
					      </tr>
				      </table>
				    </td>
				</tr>	
				<tr>
			  	<td align="left" valign="top">
					<table width="679" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
					    <tr>
					      <td width="1%" align="left" valign="top"><img src="/images/bus005.gif" width="8" height="19"></td>
					      <td width="98%" height="19" background="/images/bus006.gif">&nbsp;</td>
					      <td width="1%" align="left" valign="top"><img src="/images/bus010.gif" width="8" height="19"></td>
					    </tr>
					    <tr>
			  				<td width="1%" align="left" valign="top" background="/images/bus007.gif">&nbsp;</td>
			  				<td height="21" valign="top" bgcolor="#D2E9F7">
			  					<table width="101%" border="0" cellspacing="0" cellpadding="0">
						          <tr>
						            <th width="5%" height="21" scope="row">&nbsp;</th>
						            <th width="3%" scope="row"><div align="left"><img src="/images/ico-setup.gif" title=""></div></th>
						            <td width="13%">
						            	<span class="STYLE1">
										<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_IN;')!=-1}"><a href="javascript:showWin(1024,420,'/finance/LoanBillNew.ihtm?alert_type=SHOW&bill_type=IN');">资金借入单</a></c:if>	
										<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';LOAN_IN;')==-1}">资金借入单</c:if>						            													
										</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="15%">
						            	<span class="STYLE1">
										<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';LOAN_OUT;')!=-1}"><a href="javascript:showWin(1024,420,'/finance/LoanBillNew.ihtm?alert_type=SHOW&bill_type=OUT');">资金借出单</a></c:if>	
										<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';LOAN_OUT;')==-1}">资金借出单</c:if>						            													
										</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="15%">
						            	<span class="STYLE1">
										<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BANK_ACCO;')!=-1}"><a href="javascript:showWin(900,400,'/base/BankAccountList.ihtm');">银行账户</a></c:if>	
										<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BANK_ACCO;')==-1}">银行账户</c:if>						            													
										</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="15%">
						            	<span class="STYLE1">
						            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';FEE_TYPE;')!=-1}"><a href="javascript:showWin(600,400,'/base/FeeTypeList.ihtm');">费用类型</a></c:if>
						            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';FEE_TYPE;')==-1}">费用类型</c:if>
						            	</span>
						            </td>
						            <td width="2%"><img src="/images/a38.gif" width="13" height="10"></td>
						            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
						            <td width="12%">
						            	<span class="STYLE1">
						            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';INCO_TYPE;')!=-1}"><a href="javascript:showWin(600,400,'/base/IncomeTypeList.ihtm');">收入类型</a></c:if>
						            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';INCO_TYPE;')==-1}">收入类型</c:if>
						            	</span>
						            </td>
						          </tr>
			  					</table>
			  				</td>
			  				<td valign="bottom" background="/images/bus011.gif">&nbsp;</td>
						</tr>
					    <tr>
					      <td width="1%" align="left" valign="top"><img src="/images/bus008.gif" width="8" height="19"></td>
					      <td height="19" align="left" valign="bottom" background="/images/bus009.gif">&nbsp;</td>
					      <td valign="top"><img src="/images/bus012.gif" width="8" height="19"></td>
					    </tr>
				   </table>
			  </td>
			</tr>
	</table>
  </div>
</div>
</body>
</html>